<?php

namespace App\Http\Controllers\Wechat;

use Illuminate\Http\Request;
use App\Http\Controllers\Controller;
use App\Models\Shop;

class ShopController extends Controller
{
    public function index(Request $request)
    {
    	$rs['status'] = true;
    	$where = [];    	
    	 
    	$list = Shop::select(['id','name'])
    						->where($where)
    						->orderBy('id','asc')
    						->get();
    	$rs['data'] = $list;
    	return response()->json($rs);					

    } 
}
